<!DOCTYPE html>
<html>
<head>
    <% include ../common/meta.ejs %>
    <% include ../common/public.ejs %>
</head>
<body>
<% include ../common/header.ejs %>
<div class="container">
    <div class="dolphin-row main page-content">
        <div class="page-header">
            <h5 class="content-title">保洁处理</h5>
        </div>
        <div class="queryCondition">
            <form class="query-form">
                <div class="row">
                    <div class="col-md-3">
                        <label>保洁状态：</label>
                        <select name="status" style="width: 120px;">
                            <option value="" selected>--请选择--</option>
                            <option value="1">待处理</option>
                            <option value="5">已处理</option>
                        </select>
                    </div>
                    <div class="col-md-3">
                        <label>保洁类型：</label>
                        <select name="type_like" style="width: 120px;">
                            <option value="" selected>--请选择--</option>
                            <option value="厨房保洁">厨房保洁</option>
                            <option value="床单清洗">床单清洗</option>
                            <option value="地面打扫">地面打扫</option>
                            <option value="玻璃清洗">玻璃清洗</option>
                            <option value="卫生间打扫">卫生间打扫</option>
                        </select>
                        <!--<input type="text" placeholder="" name="type_like">-->
                    </div>
                    <!--<div class="col-md-5">
                        <label>报修时间 ：</label>
                        <input type="text" class="width3" name="_startDate" placeholder="yyyy-MM-dd">
                        ~
                        <input type="text" class="width3" name="_endDate" placeholder="yyyy-MM-dd">
                    </div>-->
                    <div class="col-md-5" style="margin-top: 3px">
                        <label class="col-md-offset-1 col-md-2" style="width: 100px">保洁时间 :</label>
                        <div class="col-md-3">
                            <div class="input-group date dolphin_date_picker" style="margin-left: -20px">
                                <input class="width3" type="text" name="_startDate" placeholder="yyyy-MM-dd">
                                <span class="input-group-addon" style="padding: 0px 10px">
                                    <i class="glyphicon glyphicon-th"></i>
                                </span>
                            </div>
                        </div>
                        <div class="col-md-1" style="text-align: center;margin-left: 60px">
                            ~
                        </div>
                        <div class="col-md-3" style="margin-left: -20px">
                            <div class="input-group date dolphin_date_picker">
                                <input class="width3" type="text" name="_endDate" placeholder="yyyy-MM-dd">
                                <span class="input-group-addon" style="padding: 0px 10px">
                                    <i class="glyphicon glyphicon-th"></i>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-2">
                        <button class="btn btn-sm btn-inverse btn-query" type="button">搜索</button>
                    </div>
                </div>
            </form>
        </div>

        <div id="dataList" class="box-content"></div>
    </div>
</div>

<div class="modal fade" id="dataModal" tabindex="-1" role="dialog" aria-labelledby="dataModalLabel">
    <div class="modal-dialog" role="document" style="left: 20%;top: 0;width: 60%;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="dataModalLabel">保洁维护</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal edit-form">
                    <input type="hidden" class="form-control" name="id">

                    <div class="row">
                        <div class="col-md-7">
                            <div class="form-group">
                                <label class="col-md-4 control-label">保洁类型</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="name" type="text" disabled
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">事件编码</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="code" type="text" disabled
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">联系人</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="issueUserName" disabled type="text"
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">联系手机</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="issueUserPhone" disabled type="text"
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">保洁地址</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="address" type="text" disabled
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">保洁描述</label>
                                <div class="col-md-8">
                                    <textarea name="remark" class="form-control" disabled
                                              style="height: 100%;"></textarea>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">处理费用</label>
                                <div class="col-md-8">
                                    <input class="form-control" name="cleanFee" type="text"
                                           dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-4 control-label">处理结果</label>
                                <div class="col-md-8">
                                    <textarea name="result" class="form-control" style="height: 100%;"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-5">
                            <div class="row" id="uploadImage">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary modelSave">确定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

<% include ../common/footer.ejs %>
</body>
</html>